package com.lecture.javamode.oberver;

import com.google.common.eventbus.Subscribe;

/**
 * 给用户发送注册成功类
 * @author 72879
 */
public class RegNotificationObserver {

    @Subscribe
    public void handleRegSuccess(Long userId) {
        System.out.println("给用户id为：" + userId + "的用户发送注册成功通知");
    }

}
